﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FParser.Parser.Expressions
{
    [Serializable]
    class WhileExpression : Expression
    {
        public WhileExpression()
        {
            this.type = EnumExpressionType.WHILE;
            this.content = new List<Expression>();
            this.boolExp = new List<BooleanExpression>();
            this.opList = new List<EnumBooleanOperator>();
        }

        private List<BooleanExpression> boolExp;
        public List<BooleanExpression> BoolExp
        {
            get { return this.boolExp; }
            set { this.boolExp = value; }
        }

        private List<Expression> content;
        public List<Expression> Content
        {
            get { return this.content; }
            set { this.content = value; }
        }

        private List<EnumBooleanOperator> opList;
        public List<EnumBooleanOperator> OpList
        {
            get { return this.opList; }
            set { this.opList = value; }
        }
    }
}
